home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr01 / jock.zip / TOTDEM11.ZIP / DEMMS6.PAS < prev    next >
Pascal/Delphi Source File  |  1991-02-11  |  596b  |  26 lines

  1. program DemoMessageSix;
  2. {demms6 - two box-buttons with specific text}
  3.  
  4. Uses DOS, CRT,
  5.      totFAST, totMSG, totIO1;
  6.  
  7. Var
  8.    MsgWin : ButtonPromptOBJ;
  9.    ActionCode: tAction;
  10.  
  11. begin
  12.    Screen.Clear(white,'░'); {paint the screen}
  13.    with MsgWin do
  14.    begin
  15.       Init(1,' Warning ');
  16.       AddLine('');
  17.       AddLine(' The file already exists on disk, and ');
  18.       AddLine(' the contents will be over-written.');
  19.       AddLine('');
  20.       SetOption(1,' ~P~roceed ',80,Finished);
  21.       SetOption(2,' ~A~bort ',65,Escaped);
  22.       ActionCode := Show;
  23.       Done;
  24.    end;
  25. end.
  26.